#电影信息数据库解锁功能
from django.db.models import Q
from movie_app import models as movie
from cinema_app import models as cinema
def search(content):
    #电影名称查询
    msg = movie.Movie_info.objects.get(
        Q(name__startswith=content)|Q(name__endswith=content)
    )
    #电影院查询

    return msg

#电影查询数据库返回

# def